home *** CD-ROM | disk | FTP | other *** search
/ Linear Technology Linearview 1996 / linearview 1996.iso / spice / readme2.com (.txt) < prev    next >
Encoding:
Graham's TXT2COM  |  1996-07-09  |  11.9 KB  |  212 lines

  1. 1.0) Introduction
  2.  
  3.      This file describes how to setup and run the evaluation versions of
  4.      PSpice and Probe.
  5.  
  6.      PSpice is an analog circuit simulator.  It calculates the voltages
  7.      and currents of a circuit under a variety of different circumstances,
  8.      such as DC, AC, and in time.  The program SPICE was developed at the
  9.      University of California at Berkeley in the early 1970's and has
  10.      become a de facto standard in the area of analog simulation.  The
  11.      input and output of PSpice conform to that standard.  Also, PSpice
  12.      has many extensions which give it a wide applicability.
  13.  
  14.      Probe is a waveform viewer.  It displays the results from PSpice
  15.      graphically and interactively.  If you think of PSpice as a
  16.      "software breadboard", then think of Probe as a "software oscilloscope".
  17.  
  18.      Also included in this package is the Monte Carlo analysis option
  19.      for PSpice.  Monte Carlo analysis allows tolerances to be assigned
  20.      to component values and used in repeated simulations.  This option
  21.      is built into the evaluation version of the PSpice program.
  22.  
  23. 2.0) System Configuration
  24.  
  25.      PSpice will run on the IBM PC and PS/2 families of computers,
  26.      including machines based on the 8088, 8086, 80286, and 80386.  PSpice
  27.      needs 512kbytes of memory (RAM).  Either the monochrome or color
  28.      display may be used.  Any printer may be used.  For this evaluation
  29.      version of PSpice the floating-point processor (8087, 80287, or 80387)
  30.      is optional.  If present the program will run at full speed.  Otherwise
  31.      it will run 5-15 times slower.  The production version requires the
  32.      co-processor; it is not optional.
  33.  
  34.      PSpice runs under MSDOS 2.0+ and requires the system to have been
  35.      booted with a CONFIG.SYS file which contains the statement:
  36.  
  37.           FILES=30
  38.  
  39.      It is also recommended that the CONFIG.SYS file contain the statement:
  40.  
  41.           BUFFERS=20
  42.  
  43.      Such a CONFIG.SYS file is included on Diskette 1.  If the CONFIG.SYS
  44.      in your root directory does not have these two statements, include
  45.      them, and reboot your system.
  46.  
  47. 3.0) Running PSpice
  48.  
  49.      For systems with a fixed disk, simply copy the all the files
  50.      from this diskette into a directory and then start PSpice with
  51.      the command:
  52.  
  53.           PSPICE input-file output-file
  54.  
  55.      The input-file and output-file may have pathnames.
  56.      The program files (PSPICE1.EXE and PROBE.EXE) can be on any directory
  57.      specified by a previous DOS PATH command.
  58.  
  59.      The input file must be specified, but its extension need not be.  Its
  60.      extension defaults to .CIR.  The output file is optional, its name
  61.      defaults to the input file's name and its extension defaults to .OUT.
  62.      This command will run EXAMPLE1.CIR and put the results into a file
  63.      named EXAMPLE1.OUT:
  64.  
  65.           PSPICE EXAMPLE1
  66.  
  67.      If the input file is not specified you will be prompted for it.  The
  68.      output file may be a device, such as the printer.  This command would
  69.      run EXAMPLE1 to the printer:
  70.  
  71.           PSPICE EXAMPLE1 PRN
  72.  
  73.      assuming that you have the standard DOS reserved names.
  74.  
  75.      You may also run PSpice and Probe directly from a floppy disk, although
  76.      we recommend against it due to limited disk space.
  77.  
  78. 4.0) Format of the Input and Output Files
  79.  
  80.      The input and output files are ordinary text files and follow the
  81.      same rules as those for the UC Berkeley SPICE program, version 2G.6,
  82.      with these omissions:
  83.  
  84.        1) There is no distortion (.DISTO) analysis.  We recommend using the
  85.           .TRAN and .FOUR to calculate harmonic distortion.  This method
  86.           correctly accounts for clipping, which .DISTO does not.
  87.        2) There is no .ALTER command.
  88.  
  89.      In addition, numerous enhancements to the Berkeley SPICE have been
  90.      added including GaAs MESFET devices, Monte Carlo analysis, ideal
  91.      switches, non-linear transformers, and standard parts libraries.
  92.      For more details on these and other PSpice enhancements, the PSpice
  93.      User's Guide may be purchased separately from the PSpice program.
  94.  
  95. 5.0) Restrictions for the evaluation version
  96.  
  97.      This evalution version of PSpice will run in 512kbytes.  It will run with
  98.      or without the floating-point co-processor.  All the features of the
  99.      production PSpice as of June 1987 are included except that the circuit
  100.      size is restricted to a maximum of about 10 transistors.  Note that
  101.      for schools teaching introductory electronics courses, 10 transistors
  102.      may be all that is needed.  The production version of PSpice comes
  103.      with a library of models for over 2000 standard devices (diodes, bipolar
  104.      transistors such as the 2N2222, power MOSFET's, opamps, comparators,
  105.      and transformer cores).  The evaluation version includes a reduced version
  106.      of this library with about 10 parts.  The libraries are in the files with
  107.      extension ".LIB".  These are ascii, text files and we
  108.      recommend that you print them out for more information on them.
  109.      Also included are the subcircuits for modeling the OpAmps from
  110.      Linear Technology Corporation.
  111.  
  112. 6.0) Running Probe
  113.  
  114.      These diskettes also contain Probe, the graphics post-processor for
  115.      PSpice.  Probe is run by adding the statement:
  116.  
  117.           .PROBE
  118.  
  119.      to the input file to PSpice.  Then, PSpice stores all the node voltages
  120.      and device currents calculated during the simulation into a file called
  121.      PROBE.DAT.  The presence of the PROBE.DAT file will cause Probe to be
  122.      run automatically as soon as PSpice is finished.  In addition, once
  123.      the PROBE.DAT file is created, Probe can be run by itself (that is,
  124.      without re-running PSpice) by typing
  125.  
  126.           PROBE
  127.  
  128.      To run Probe the first time, we recommend adding a ".PROBE" statement
  129.      to EXAMPLE1.CIR with a text editor and then typing:
  130.  
  131.           PSPICE EXAMPLE1
  132.  
  133.      PSpice will simulate EXAMPLE1 and create a PROBE.DAT file.  After
  134.      PSpice is finished Probe will start up automatically. (Refer to
  135.      PSPICE.BAT)
  136.  
  137.      Probe accepts commands through a menu displayed at the bottom of the 
  138.      screen.  Most of these commands are self-explanatory.  To put up a
  139.      waveform, use the Add Trace command.  When it asks for a variable
  140.      or expression, enter a voltage or current in the same format as
  141.      for a .PRINT or .PLOT statement in PSpice.  For instance,
  142.  
  143.           V(4,5)          will show the voltage across nodes 4 and 5
  144.           IC(Q1)          will show the collector current at transistor Q1
  145.  
  146.      The Add Trace command also allows you to enter arithmetic expressions
  147.      of voltages and currents.  For instance,
  148.  
  149.           V(4)-V(5)       will show the same waveform as V(4,5)
  150.           V(4,5)*I(CLOAD) will show the instantaneous power through CLOAD
  151.  
  152.      The PROBE.DEV file contains a list of the devices attached to your
  153.      system.  The allowed devices for "Display = " are:
  154.  
  155.      Text:         Non-graphics display
  156.      IBM:          IBM CGA (640x200 no color) adaptor
  157.      IBMEGA:       IBM EGA (640x350 with color) adaptor
  158.      GenericEGA:   non-IBM EGA (640x350 with color) adaptor
  159.      Hercules:     Hercules graphics (720x348 no color) adaptor
  160.      AT&T:         AT&T 6300 (640x350 no color) adaptor
  161.      FutureNet:    DASH2 graphics (640x350 no color) adaptor
  162.  
  163.      The allowed devices for "Hard-copy = " are:
  164.  
  165.      Text:         Non-graphics printer
  166.      Text132:      Non-graphics printer (132 columns)
  167.      Epson:        Epson FX-80 printer
  168.      Epson132:     Epson FX-100 printer
  169.      EpsonMX:      Epson RX and MX-80, Okidata IBM Compatible, Okidata
  170.                      with Plug N' Play, and Epson-compatible printers
  171.      EpsonMX132:   Epson RX and MX-100 printers
  172.      Okidata:      Okidata ML92 printer
  173.      Okidata132:   Okidata ML93 printer
  174.      Toshiba:      Toshiba P351 in 180 dots/inch mode
  175.      Toshiba132:   Toshiba P351 (132 columns)
  176.      Printronix:   Printronix P300 and P600 printers (80 columns)
  177.      Printronix132:Printronix printers (132 columns)
  178.      IBMClr:       IBM color printer (black only)
  179.      IBMClr132:    IBM color printer (black only, 132 columns)
  180.      IBMClrSlw:    IBM color printer (color)
  181.      IBMClrSlw132: IBM color printer (color, 132 columns)
  182.      CItoh:        C. Itoh color printer (black only)
  183.      CItoh132:     C. Itoh color printer (black only, 132 columns)
  184.      CItohSlw:     C. Itoh color printer (color)
  185.      CItohSlw132:  C. Itoh color printer (color, 132 columns)
  186.      HP            Hewlett Packard 7400 and 7500 family of plotters (2 pens)
  187.      HP6           Hewlett Packard 7400 and 7500 family of plotters (6 pens)
  188.      HI            Houston Instruments DMP pen plotter
  189.      HPLJ          Hewlett Packard LaserJet printer
  190.  
  191.      We recommend that you use "Text" first before trying out your system's
  192.      graphic devices.  Note: this evaluation version of Probe is for IBM and
  193.      IBM-compatible PC's only.  It will not run on the Texas Instruments
  194.      professional.
  195.  
  196.      This evaluation version of Probe will run with or without the floating-
  197.      point co-processor.  It draws traces from 5 to 10 times slower without
  198.      the co-processor.  This evaluation Probe has all the capabilities of the
  199.      production Probe as of June 1987.  The production Probe requires the
  200.      co-processor; it is not optional.
  201.  
  202. 7.0) How good are the models in PSpice?
  203.  
  204.      The semiconductor models in PSpice account for a variety of static and
  205.      dynamic effects.  Many things are not modelled, for example the result
  206.      of a burst of ionizing radiation (from a nuclear explosion).  The
  207.      models are designed to account for the important effects, in normal
  208.      circuit operation.  And, while a given model parameter set will not
  209.      precisely match a given "real" device, the match will be closer than
  210.      the difference between two "real" devices (selected at random).
  211.  
  212.